<!DOCTYPE html>
<html>
<head>
<title>sys_dict_item</title>
<#include "/sys/header.html"/>
</head>
<body>
<div class="panel panel-default" id="rrapp" v-cloak>
	<div class="panel-heading">{{title}}</div>
	<form class="form-horizontal">
		<div class="form-group">
		   	<div class="col-sm-2 control-label">字典编码</div>
		   	<div class="col-sm-10">
		      <input type="text" class="form-control" v-model="dictItem.dictCode" placeholder="字典编码"/>
		    </div>
		</div>
		<div class="form-group">
		   	<div class="col-sm-2 control-label">字典名称</div>
		   	<div class="col-sm-10">
		      <input type="text" class="form-control" v-model="dictItem.dictName" placeholder="字典名称"/>
		    </div>
		</div>
		<div class="form-group">
		   	<div class="col-sm-2 control-label">字典组id</div>
		   	<div class="col-sm-10">
		      <input type="text" class="form-control" v-model="dictItem.groupId" placeholder="字典组id"/>
		    </div>
		</div>
		<div class="form-group">
		   	<div class="col-sm-2 control-label">排序号</div>
		   	<div class="col-sm-10">
		      <input type="number" class="form-control" v-model="dictItem.orderNum" placeholder="排序号"/>
		    </div>
		</div>
		<div class="form-group">
		   	<div class="col-sm-2 control-label">状态</div>
			<div class="col-sm-10">
				<label class="radio-inline">
					<input type="radio" name="status" value="0" v-model="dictItem.status"/> 失效
				</label>
				<label class="radio-inline">
					<input type="radio" name="status" value="1" v-model="dictItem.status"/> 正常
				</label>
			</div>
		</div>
		<div class="form-group">
			<div class="col-sm-2 control-label">CSS样式</div>
			<div class="col-sm-10">
				<input type="text" class="form-control" v-model="dictItem.cssStyle" placeholder="css样式（如：color:red)"/>
			</div>
		</div>
		<div class="form-group">
			<div class="col-sm-2 control-label">CSS类名</div>
			<div class="col-sm-10">
				<input type="text" class="form-control" v-model="dictItem.cssClass" placeholder="css类名（如：red）"/>
			</div>
		</div>
		<div class="form-group">
		   	<div class="col-sm-2 control-label">描述</div>
		   	<div class="col-sm-10">
				<textarea rows="4" class="form-control" v-model="dictItem.remark" placeholder="描述"></textarea>
		    </div>
		</div>
		<div class="form-group">
			<div class="col-sm-2 control-label"></div> 
			<input type="button" class="btn btn-primary" @click="saveOrUpdate" value="确定"/>
			&nbsp;&nbsp;<input type="button" class="btn btn-warning" @click="back" value="返回"/>
		</div>
	</form>
</div>

<script src="${base}/js/sys/dictItem_add.js?_${.now?string['yyyyMMddhhmmSS']}"></script>
</body>
</html>
